package com.darkblue.main;

import java.util.HashMap;
import java.util.Map;

import com.darkblue.process.CenterProcess;

public class GenMain {

	public static void main(String[] args) {
		String absPath="G:/workspace/06-Zhongli/01-Code/02-1-WEB/01-iov/iov/src/main/java";
		String packPath = "com/traykai/web/iov/privilege";
		String entityName = "Role";
//		Map<String, String> columnMap = new HashMap<>();
//		columnMap.put("id", "String");
//		columnMap.put("name", "String");
//		columnMap.put("code", "String");
//		columnMap.put("type", "String");
//		columnMap.put("description", "String");
//		columnMap.put("creator", "String");
//		columnMap.put("createTime", "Date");
		
		Map<String, String> columnMap1 = new HashMap<>();
		columnMap1.put("id", "String");
		columnMap1.put("name", "String");
		columnMap1.put("type", "String");
		columnMap1.put("description", "String");
		columnMap1.put("creator", "String");
		columnMap1.put("createTime", "Date");
		CenterProcess.setMap(columnMap1);
		
		CenterProcess.mkDir(absPath,packPath,entityName);
	}

}
